Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

435
Views
DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at node_modules\postcss\package.json

Since I upgraded Node to version 16, I started noticing this when I build my Angular app.

DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at "...\node_modules\postcss\package.json".

Update this package.json to use a subpath pattern like "./*".

Is there a way to fix this without downgrading the Node version?

about 4 years ago · Juan Pablo Isaza
3 answers
Answer question

0

Regarding the GitHub issue, this one is recurrent one:

https://github.com/postcss/postcss/issues/1455#issuecomment-872240742

An update of postcss should do the job.

about 4 years ago · Juan Pablo Isaza Report

0

Solution:

  1. Go to defined location C:\<xampp>\htdocs\<projName>\node_modules\tslib\package.json.
  2. At exports field - replace this "./": "./" to "./": "./*".
about 4 years ago · Juan Pablo Isaza Report

0

I was using node 16 switched back to 14 and it started working.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!